package com.ysxsoft.wdg.bean;

import java.util.ArrayList;
import java.util.List;

public class DiscussBean2 {


    /**
     * id : 4
     * uid : 10
     * productid : 9
     * content : ceshi11
     * addtime : 1528766294
     * username : 13311269406
     * avatar : http://dzlc.ysxapp.com/uploads/images/20180622/crop_2018_0622_030200_5046539.jpg
     * chatavatar : null
     */

    private String id;
    private String uid;
    private String productid;
    private String content;
    private String addtime;
    private String username;
    private String nickname;
    private String money;
    private String count;
    private String avatar;
    private Object chatavatar;
    private List<String> pic;

    public List<String> getPic() {
        if (pic == null) {
            return new ArrayList<>();
        }
        return pic;
    }

    public void setPic(List<String> pic) {
        this.pic = pic;
    }

    public String getNickname() {
        return nickname == null ? "" : nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getMoney() {
        return money == null ? "" : money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    public String getCount() {
        return count == null ? "" : count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getProductid() {
        return productid;
    }

    public void setProductid(String productid) {
        this.productid = productid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getAddtime() {
        return addtime;
    }

    public void setAddtime(String addtime) {
        this.addtime = addtime;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Object getChatavatar() {
        return chatavatar;
    }

    public void setChatavatar(Object chatavatar) {
        this.chatavatar = chatavatar;
    }
}
